package sw6.admin.internal;

/**
 * 
 * @author sw6b
 */
public final class Definitions {
	
	public  static final String XML_ROOT						= "settings";
	public  static final String XML_VISIBLE						= "visible";
	public  static final String XML_MENU						= "menu";
	public  static final String XML_SETTING_TYPE_BOOLEAN 		= "boolean";
	public  static final String XML_SETTING_TYPE_INT 			= "integer";
	public  static final String XML_SETTING_TYPE_DOUBLE			= "double";
	public  static final String XML_SETTING_TYPE_OBJECT			= "object";
	public  static final String XML_SETTING_TYPE_STDOBJECT		= "stdobject";
	public  static final String XML_SETTING_TYPE_STRING			= "string";
	public  static final String XML_SETTING_TYPE_ENUM_ELEMENT	= "element";
	public  static final String XML_SETTING_TYPE_ENUM			= "enum";
	public  static final String XML_ATTRIBUTE_VAR_NAME 			= "varName";
	public  static final String XML_ATTRIBUTE_REAL_NAME 		= "realName";
	public  static final String XML_ATTRIBUTE_DESCRIPTION 		= "desc";
	public  static final String XML_ATTRIBUTE_CLASS_PATH 		= "classPath";
	public  static final String XML_ATTRIBUTE_TITLE 			= "title";
	public  static final String XML_ATTRIBUTE_MIN	 			= "min";
	public  static final String XML_ATTRIBUTE_MAX	 			= "max";
	public  static final String XML_ATTRIBUTE_TYPE_NAME 		= "type";
	public  static final String XML_ATTRIBUTE_VALUE		 		= "value";
	public  static final String XML_ATTRIBUTE_ACTIVITY	 		= "settingActivity";
	public  static final String XML_ATTRIBUTE_PC		 		= "settingPc";
	
	public static final String SW6_ADMIN_PACKAGE_NAME			= "sw6.admin";
	
	public static final String STDOBJECT_INTERVAL_GUI		 	= "sw6.admin.gui.types.IntervalGui";
	
	public static String getStdObjectActivity(String type) {
		if (type.equals("sw6.lib.types.Interval"))
			return STDOBJECT_INTERVAL_GUI;
		
		return "";
	}
}
